<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>

<script type="text/javascript">
	
var Book = function(title, time, type) {
	this.title = title;
	this.time = time;
	this.type = type;
}

var a = Book('title', 'time', 'type');
console.error(a);

console.error(window.title);
console.error(window.time);
console.error(window.type);

</script>

</body>
</html>